#ifndef _MAINWND_H__
#define _MAINWND_H__

#include "MainData.h"
class CMainWnd
{

public:
	int				m_tmpi;
	HWND			m_hWnd;
	HDC				m_hMemDC;
	HBITMAP			m_hBitmap;
	CImage			m_bkImg;
	CMainData		m_mainData;
	int				width;
	int				height;


	HBRUSH			m_hBrush;
	HFONT			m_hFont;
	HPEN			m_hPen;
	vector<CCtrl *> vcCtrls;

	CMyPlayer		m_myPlayer;

	CMainWnd();
	~CMainWnd();

	bool		InitApplication(HWND hWnd);

	void		OnPaint(HDC* hDC);
	bool		OnLButtonDown( POINT ptPos);
	bool		OnTimer(int TimerID);

	CMyPlayer*  GetMyPlayer();

};


















#endif










